Auto merge of #1701 - alexcrichton:lenient-rustc-flags, r=brson
authorbors <bors@rust-lang.org>
Fri, 12 Jun 2015 18:36:01 +0000 (18:36 +0000)
committerbors <bors@rust-lang.org>
Fri, 12 Jun 2015 18:36:01 +0000 (18:36 +0000)
commitf98100f7776e358f215485db0a0330d2cb2df1da
treedefc7b7d1f0583b54e741827c03cd5d979adb709
parentae8b752b4e5bc2bcebd97dc1d5995e951848bd70
parent8230f1f4a7955c4e9ece2219109d72055e475456
Auto merge of #1701 - alexcrichton:lenient-rustc-flags, r=brson

Some flags to the compiler could cause it to stop early or not emit some files
altogether (or perhaps emit files in different locations even). Currently cargo
expects a few outputs of the compiler after `cargo rustc` is run, but this
commit alters cargo to know that when `cargo rustc` is being run that the
outputs may not exist and that's ok.

Closes #1675
src/cargo/ops/cargo_rustc/mod.rs